feat(sessions): keyboard navigation and jump-to-message picker#3407
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
React Doctor found 1 issue in 1 file · 1 warning. 1 warning
Reviewed by React Doctor for commit |
|
61e2734 to
5c54ff9
Compare
5c54ff9 to
7904dd5
Compare
There was a problem hiding this comment.
This is a 711-line feature addition with zero reviews, from an author without a CODEOWNERS match, adding new keyboard shortcuts and interaction logic to the core chat thread. Zero reviews on a complex behavioral change warrants human sign-off before auto-approval.
7904dd5 to
3705f9b
Compare
Problem
Long conversations are hard to navigate: search finds text but cannot move between turns or jump to a specific message.
Closes #2360
Changes
Recreates #2361 by @Basit-Balogun10 (GitHub cannot reopen a PR after its head branch was force-pushed), squashed into one commit and rebased onto current main. The configurable-keybindings work from #2321 is not included; the new shortcuts are fixed bindings.
Also addresses the review-bot findings: the shortcuts fire from the composer but not from other editable surfaces (CodeMirror, terminal, plain inputs), the picker resets its filters by remounting instead of an effect, a custom end date with no time now covers the whole day and the date inputs have accessible labels.
Demo videos in #2361.
How did you test this?
Ran
pnpm --filter @posthog/ui test(1505 tests, all passing),pnpm --filter @posthog/ui typecheckand Biome on the touched files. Manually exercised the shortcuts in the running desktop app.Automatic notifications